﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UCLoaiSanPham.ascx.cs"
    Inherits="WebApplication.Admins.Controls.UCLoaiSanPham" %>
<div class="t_news">
    <div class="t_titles">
        Quản Lý Loại Hoa</div>
    <div class="t_toolbar">
        <input id="Button1" type="button" value="Thêm Loại Hoa " class="buttons" onclick="location.href='EditLoaiSP.aspx'"
            runat="server" />
        <asp:Button Text="Xóa Loại Hoa" ID="btnXoa" runat="server" CssClass="buttons" OnClick="btnXoa_Click" />
        <br />
        <div class="finds">
            <asp:Label ID="lblTimKiem" Text="Tìm kiếm" CssClass="lables" runat="server" />
            <asp:TextBox runat="server" CssClass="texts" ID="txtTimKiem" />
            <asp:Button ID="btnTimKiem" Text="Tìm Kiếm" CssClass="buttons" runat="server" OnClick="btnTimKiem_Click" />
        </div>
    </div>
    <table class="tables">
        <thead>
            <tr class="trs">
                <th class="cid">
                    <input type="checkbox" id="chkAll" />#
                </th>
                <th class="names">
                    Tên Loại Hoa
                </th>
                <th class="names">
                    ID
                </th>
            </tr>
        </thead>
        <asp:Repeater runat="server" ID="repChuDe">
            <ItemTemplate>
                <tr>
                    <td>
                        <input type="checkbox" name="Id" value='<%#Eval("IDLoaiSP") %>' id="Id" />
                    </td>
                    <td>
                        <a href='EditLoaiSP.aspx?Id=<%#Eval("IDLoaiSP") %>'>
                            <%#Eval("TenLoaiSP")%></a>
                    </td>
                    <td>
                        <%#Eval("IDLoaiSP")%>
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>
</div>
